<?php
namespace map;
class Bounds {
    public $southWest;
    public $nordEast;

    public function __construct(array $params){
        $this->southWest = new Point($params['swLat'], $params['swLng']);
        $this->nordEast  = new Point($params['neLat'], $params['neLng']);
    }
}